Determine if a sensor event queue has pending event to be processed.
\param queue {@link ASensorEventQueue} to be queried \return 1 if the queue has events; 0 if it does not have events; or a negative value if there is an error.
See Implementation
Determine if a sensor event queue has pending event to be processed.
\param queue {@link ASensorEventQueue} to be queried \return 1 if the queue has events; 0 if it does not have events; or a negative value if there is an error.